home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / powerd / modules.lha / modules / reaction / reaction_class.m < prev    next >
Encoding:
Text File  |  2002-01-15  |  1.2 KB  |  39 lines

  1. /*
  2. **  $VER: reaction_class.h 44.1 (19.10.1999)
  3. **  Includes Release 44.1
  4. **
  5. **  reaction class author definitions
  6. **
  7. **  (C) Copyright 1987-1999 Amiga, Inc.
  8. **      All Rights Reserved
  9. */
  10. MODULE 'intuition/cghooks'
  11. /*
  12.  * PRIVATE!
  13.  */
  14. OBJECT SpecialPens
  15.  Version:WORD,     /* Currently 0 */
  16.  DarkPen:LONG,     /* XEN/Thick extended locked pen */
  17.  LightPen:LONG     /* XEN/Thick extended locked pen */
  18.  
  19. /* Custom method defined and supported by some Reaction Gadgets
  20.  * When this method is supported by more (all?) Reaction Gadgets
  21.  * this structure may move to intuition/gadgetclass.h
  22.  */
  23. #define GM_CLIPRECT ($550001)
  24. /* The GM_CLIPRECT method is used to pass a gadget a cliprect
  25.  * it should install before rendering to ObtainGIRPort() rastports
  26.  * to support proper usage within virtual groups.
  27.  */
  28. OBJECT gpClipRect
  29.  MethodID:ULONG,                   /* GM_CLIPRECT              */
  30.  GInfo:PTR TO GadgetInfo,      /* GadgetInfo               */
  31.  ClipRect:PTR TO Rectangle,    /* Rectangle To Clip To     */
  32.  Flags:ULONG                   /* Flags                    */
  33.  
  34. /* Possible return values from GM_CLIPRECT
  35.  */
  36. #define GMC_VISIBLE       2
  37. #define GMC_PARTIAL       1
  38. #define GMC_INVISIBLE     0
  39.